{% extends 'base.html' %}

{% block title %}
    <title>login</title>
{% endblock %}

{% block extcss %}
    <link rel="stylesheet" href="../static/css/login.css">
{% endblock %}

{% block head %}
    <div class="head w">
        <div class="nav w">
            <div class="logo">
                {% block one %}
                	<h2>职工工资管理系统-登录</h2>
                {% endblock %}
            </div>
            <div class="login">
                <ul>
                    <li><a href="/index/">回到首页</a></li>
                </ul>
            </div>
        </div>
    </div>
{% endblock %}

{% block body %}
    <div class="box1">
        <div class="box2 w">
            <div class="box3">

                {% block twe %}
                    <form action="/login/" method="post" autocomplete="off">
                    <ul>
                        <li><input type="text" class="user" name="username" placeholder="用户名" required></li>
                        <li><input type="password" class="pwd" name="password" placeholder="密码" required></li>
                        <li>
                            <div>
                                <input type="radio" class="radio1" name="admin" value="user" checked="checked" id="1"><label
                            for="i">职工</label>
                            </div>
                            <div>
                                <input type="radio" class="radio2" name="admin" value="admin" id="2"><label for="2">管理员</label>
                            </div>
                        </li>
                        <li><input type="submit" class="button" value="登录"></li>
                        <li><a href="#">没有账号?注册</a></li>
                    </ul>
                    </form>
                {% endblock %}

            </div>
        </div>
    </div>
{% endblock %}
